<h1>
        <span class="action-span1">
		<a href="javascript:void(0);">道具管理</a>---<a href="javascript:void(0);"><?php if($propsID): ?>修改道具<?php else: ?>添加道具<?php endif;?></a>
	</span>
	<div style="clear:both"></div>
</h1>

  <!-- start user list -->
<div class="list-div" id="listDiv">
    <form action="./index.php?c=props&a=propsSave" method="post" enctype="multipart/form-data" >
        <input type="hidden" name="propsID" value="<?=$propsID;?>">
<table cellpadding="3" cellspacing="1">
  <tr>
    <th width="25%">道具名称：</th>
    <td><input type="text" style="width:677px;" value="<?=$props['title'];?>" name="title"></td>
  </tr>
  <tr>
    <th width="25%">道具功能：</th>
    <td><select name='type'>
            <option value='1' <?php if( 1 == $props['type']): echo "selected"; endif; ?> >持续增加筹码</option>
            <option value='2' <?php if( 2 == $props['type']): echo "selected"; endif; ?> >表情互动</option>
            <option value='3' <?php if( 3 == $props['type']): echo "selected"; endif; ?> >小喇叭</option>
            <option value='4' <?php if( 4 == $props['type']): echo "selected"; endif; ?> >房间加密</option>
            <option value='5' <?php if( 5 == $props['type']): echo "selected"; endif; ?> >踢人</option>
            <option value='6' <?php if( 6 == $props['type']): echo "selected"; endif; ?> >减少损失</option>
            <option value='7' <?php if( 7 == $props['type']): echo "selected"; endif; ?> >增加收益</option>
            <option value='8' <?php if( 8 == $props['type']): echo "selected"; endif; ?> >增加经验</option>
            <option value='9' <?php if( 9 == $props['type']): echo "selected"; endif; ?> >获得筹码</option>
            <option value='10' <?php if( 10 == $props['type']): echo "selected"; endif; ?> >获得游戏币</option>
        </select></td>
  </tr>
  <tr>
    <th width="25%">图标：</th>
    <td><input name="img" type="text" value="<?php echo $props['img']; ?>" ></td>
  </tr>
  <tr>
    <th width="25%">描述：</th>
    <td><textarea name="descripe" rows="9" cols="94"><?=$props['describe'];?></textarea></td>
  </tr>
  <tr>
    <th width="25%">排序值：</th>
    <td><input type="text" style="width:677px;" value="<?=$props['rander']?$props['rander']:0;?>" name="rander"></td>
  </tr>
  <tr>
      <?php $usejson = unserialize($props['useJson'])?>
    <th >道具功能：</th>
        <td>
            1.持续<input type='text' name='days' value='<?=$usejson['days']?$usejson['days']:'1'; ?>'>天,每天获取筹码<input type="text" name="jetton" value="<?=$usejson['jetton']?$usejson['jetton']:'100'; ?>" style="width:30px;" ><br/>
            2.发送互动表情<input type='text' name='browVal' value='<?=$usejson['browVal']?$usejson['browVal']:'1'; ?>' style="width:30px;" >次<br/>
            3.使用语音<input type='text' name='trumpetVal' value='<?=$usejson['trumpetVal']?$usejson['trumpetVal']:'1'; ?>' style="width:30px;" >次<br/>
            4.房间可以加密<br/>
            5.踢出用户持续<input type='text' name='makeLeaveVal' value='<?=$usejson['makeLeaveVal']?$usejson['makeLeaveVal']:'1'; ?>' style="width:30px;" >分钟不能进入该房间<br/>
            6.有<input type="text" value="<?=$usejson['lossOdds']?$usejson['lossOdds']:'0'; ?>" name="lossOdds">%几率,减少损失<input type='text' name='lossVal' value='<?=$usejson['lossVal']?$usejson['lossVal']:'0'; ?>' style="width:30px;" >%<br/>
            7.有<input type="text" value="<?=$usejson['moenyOdds']?$usejson['moenyOdds']:'0'; ?>" name="moenyOdds">%几率,增加收益<input type='text' name='moenyVal' value='<?=$usejson['moenyVal']?$usejson['moenyVal']:'0'; ?>' style="width:30px;" >%<br/>
            8.有<input type="text" value="<?=$usejson['expOdds']?$usejson['expOdds']:'0'; ?>" name="expOdds">%几率,增加经验<input type='text' name='expVal' value='<?=$usejson['expVal']?$usejson['expVal']:'0'; ?>' style="width:30px;" >%<br/>
            9.获得筹码<input type='text' name='jettonVal' value='<?=$usejson['jettonVal']?$usejson['jettonVal']:'0'; ?>' style="width:30px;" ><br/>
            10.获得游戏币<input type='text' name='moneyVal' value='<?=$usejson['moneyVal']?$usejson['moneyVal']:'0'; ?>' style="width:30px;" ><br/>
        </td>
  </tr>
   <tr>
    <th colspan='2'><input type='submit' value='提交' style='width:100px;'></th>
  </tr>
  </table>
       </form>
<!-- end goods list -->

<!-- 分页 -->
</div>